<%--
  Created by IntelliJ IDEA.
  User: ghp
  Date: 2022/8/7
  Time: 10:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>JSP初体验</title>
</head>
<body>
    <%--这是html代码--%>
    <h1>Hello,JSP!</h1>
    <%
        /*这是Java代码*/
        System.out.println("这是我的第一个JSP程序");
        int i=1;
    %>
    <%=i%>
<%!
    void show(){}
    String name = "zhangsan";
%>
</body>
</html>
